package com.mk.settlement.model;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.mk.settlement.common.Util;

public class SettlementSchedulerCenter {
	
    private Integer id;
 
    private String taskName;

    private String  currentMachine;
    
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date tickTime;
 
    private Long threshold;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getTaskName() {
		return taskName;
	}

	public void setTaskName(String taskName) {
		this.taskName = taskName;
	}

	public String getCurrentMachine() {
		return currentMachine;
	}

	public void setCurrentMachine(String currentMachine) {
		this.currentMachine = currentMachine;
	}

	public String getTickTime() {
		return Util.dateToStr(tickTime);
	}

	public void setTickTime(Date tickTime) {
		this.tickTime = tickTime;
	}

	public Long getThreshold() {
		return threshold;
	}

	public void setThreshold(Long threshold) {
		this.threshold = threshold;
	}
    
 
}